BreadcrumbsFor(HtmlHelper,CmsPage,IDictionary<String,Object>) Method

Example 

The page to create the menu for.
Optional additional Html attributes to apply to the menu. Use itemClass to apply a class to items in list and linkClass to apply a class to links in list.
Creates a breadcrumbs menu in the form of an unordered Html list optionally applying additional Html attributes.

Syntax

'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function BreadcrumbsFor( _
   ByVal helper As HtmlHelper, _
   ByVal page As CmsPage, _
   Optional ByVal htmlAttributes As IDictionary(Of String,Object) _
) As IHtmlString

Parameters

helper
page
The page to create the menu for.
htmlAttributes
Optional additional Html attributes to apply to the menu. Use itemClass to apply a class to items in list and linkClass to apply a class to links in list.

Example

@Html.BreadcrumbsFor(Model.CurrentPage)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

This documentation was created using Document! X from Innovasys